/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package trial.util;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import trial.entity.Customer;

/**
 *
 * @author feifei
 */

@XmlRootElement
@XmlType(name = "productSet", propOrder = {
    "label",
    "count",
    "customers",
})
public class customerSet implements Serializable {
    
    
    private String label;
    private Integer count;
    private List<Customer> customers;
    public customerSet() {
    customers = new ArrayList<Customer>();
    }

    public customerSet(String label, Integer count) {
        this();
        this.label = label;
        this.count = count;
    }

    public customerSet(String label, Integer count, List<Customer> customers) {
        this.label = label;
        this.count = count;
        this.customers = customers;
    }
    
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public List<Customer> getCustomers() {
        return customers;
    }

    public void setCustomers(List<Customer> customers) {
        this.customers = customers;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
    
        
}
